<template>
  <div class="index" style="padding: 20px;">
    <el-tabs v-model="activeName">
      <el-tab-pane label="管理员列表" name="sys">
        <sys />
      </el-tab-pane>
      <el-tab-pane label="角色列表" name="role">
        <role />
      </el-tab-pane>
      <el-tab-pane label="权限列表" name="list">
        <list />
      </el-tab-pane>
      <!-- <el-tab-pane label="操作日志" name="log">
        <log />
      </el-tab-pane>-->
    </el-tabs>
  </div>
</template>

<script>
import sys from '../../components/privilege/sys'
import role from '../../components/privilege/role'
import list from '../../components/privilege/privilege'
// import log from "../../components/privilege/log";

export default {
  name: 'Index',
  components: { sys, role, list },
  data() {
    return {
      activeName: 'sys'
    }
  }
}
</script>

<style scoped>
</style>
